package com.haircut.sys.vo;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Setter
@Getter
@ApiModel("DataSttsVo")
public class DataSttsVo {

    /**
     * 数据Id
     */
    @NotBlank(message = "id必须填写")
    private String id;
    /**
     * 数据状态(1、启用 2、禁用 99、删除)
     */
    @NotNull(message = "数据状态必须填写")
    @Range(min = 1,max = 99,message = "数据状态必须为[1~99]")
    private Integer dataStts;


}
